function daoru() {
    var formData = new FormData(document.getElementById("btn_re"));//表单id
    $.ajax({
        url:'/myspringboot/inputExcel',
        type: 'post',
        dataType: "json",
        contentType: false,
        processData: false,
        data: formData,
        success: function (result) {
            alert(result.msg)
            window.location.href="main.html"
        }
        })


}

function daoru2(){
    var formData = new FormData(document.getElementById("btn_re"));//表单id
    $.ajax({
        url:'/myspringboot/inputExcel2',
        type: 'post',
        dataType: "json",
        contentType: false,
        processData: false,
        data: formData,
        success: function (result) {
            alert(result.msg)
            window.location.href="main.html"
        }
    })
}
